package com.ddwl.goods.dao;

import com.ddwl.common.dao.TkDao;
import com.ddwl.goods.mapper.SignConfigMapper;
import com.ddwl.goods.model.SignConfig;
import com.ddwl.schema.bo.goods.SignConfigPageBo;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.entity.Example;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author hemiaojun
 * @Date 2020/10/19 15:40
 */
@Repository
public class SignConfigDao extends TkDao<SignConfigMapper, SignConfig> {

    @Resource
    private SignConfigMapper signConfigMapper;

    public List<SignConfig> getList(SignConfigPageBo bo) {
        Example example = getExample();
        return signConfigMapper.selectByExample(example);
    }
}
